package com.dragon.loan.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dragon.loan.dto.TrialCostDataDTO;
import com.dragon.loan.dto.TrialCostConditionDTO;
import com.dragon.loan.repository.ExaminationFeeMapper;

@Service
public class ExaminationFeeImpl implements ExaminationFeeDragonService{

	@Autowired
	private ExaminationFeeMapper feeMapper;
	
	@Override
	public TrialCostDataDTO countData(TrialCostConditionDTO dto) {
		return feeMapper.countData(dto);
	}

	@Override
	public List<TrialCostDataDTO> listQuery(TrialCostConditionDTO dto) {
		return feeMapper.listQuery(dto);
	}

	@Override
	public List<TrialCostDataDTO> costCollect(TrialCostConditionDTO dto) {
		return feeMapper.costCollect(dto);
	}

}
